﻿<controls:DialogBoxBase
        xmlns:controls="clr-namespace:SoGame.Controls"
    x:Class="SoGame.Views.PhotoPopup"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Image Source="{Binding Photo}" VerticalAlignment="Stretch" MaxWidth="500"/>
        <StackPanel Grid.Row="1" Margin="0,0,26,48" Orientation="Horizontal" HorizontalAlignment="Right" Height="30.62" VerticalAlignment="Bottom">
            <Button Content="FERMER" IsCancel="True" Margin="10,0,0,0"/>
        </StackPanel>
    </Grid>
</controls:DialogBoxBase>